<?php
/**
 * Description of chartConfig
 *
 * This is a config class for the charts.
 * The class is currently serialized to a text file.
 * The openConfig() and commitConfig() classes can be modified if you would like to store the data elsewhere.
 *
 * @author Ivan
 */
class chartConfig {
    public $root = 82;
    public $depth = 10;
    public $title = "Sunrise Software Solution";
    public $templateFile = "lib/ECOTree/ChartTemplate.html";
    public $showName = true;
    public $nameFormat = '<b>%s</b><br />';
    public $showDiv = true;
    public $divFormat = '%s<br />';
    public $showTitle = true;
    public $titleFormat = '- <i>%s</i>';
    
    function chartConfig(){}
}
function openConfig(){    
    return new chartConfig();
}
?>
